Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access private GitHub repos using GitHub app credentials #5

Merged
merged 5 commits into from
Dec 27, 2023

Conversation

bittrance
Copy link
Owner

This PR makes kitops automatically use configured github app credentials when cloning/fetching repositories. It also removes the --github-repo-slug option and instead calculates the repo to update commit statuses i from the repository URL. Also, commit status updates are now controlled by --github-context.

@bittrance bittrance self-assigned this Nov 3, 2023
Since the gitsha is needed to update status, it never made much sense to
have a separate option for this. Also, commit status updates are now turned
on if you pass --github-context.
@bittrance bittrance force-pushed the github-app-repo-access branch from 50f3fb8 to f56e23c Compare November 16, 2023 20:58
This is a bit hackish, it may be that we should start looking at
doing proper checkouts.
@bittrance bittrance force-pushed the github-app-repo-access branch from f56e23c to d9cee1e Compare November 16, 2023 21:07
@bittrance bittrance force-pushed the github-app-repo-access branch from cce01a3 to 62addf2 Compare December 27, 2023 19:15
@bittrance bittrance merged commit 51b674b into main Dec 27, 2023
3 checks passed
@bittrance bittrance deleted the github-app-repo-access branch December 27, 2023 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant